package com.eight.common.pojo;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

/**
* 
* @TableName tb_play_history
*/
@Data
@ApiModel(value = "学习记录对象",description = "学习记录表")
@TableName("tb_play_history")
@EqualsAndHashCode(callSuper = false)
public class TbPlayHistory {

    /**
    * 
    */
    @ApiModelProperty("记录id")
    private String playId;
    /**
    * 
    */
    @ApiModelProperty("人员id")
    private String userId;
    /**
    * 
    */
    @ApiModelProperty("视频id")
    private String videoId;
    /**
    * 
    */
    @ApiModelProperty("观看时间")
    private LocalDateTime playTimePoint;

    @TableField(exist = false)//表示表中数据不存在
    private EduVideo eduVideo;
    @TableField(exist = false)//表示表中数据不存在
    private String title;

    @TableField(exist = false)//表示表中数据不存在
    private String chapterTitle;


}
